package net.microfigure.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 报销实例表
 * </p>
 *
 * @author 林景锋
 * @since 2018-06-28
 */
@TableName("exp_inst")
public class ExpInst extends Model<ExpInst> {

    private static final long serialVersionUID = 1L;

    /**
     * 报销实例编码
     */
	@TableId(value="exp_inst_no", type= IdType.AUTO)
	private Long expInstNo;
    /**
     * 慢病证号
     */
	@TableField("ill_no")
	private String illNo;
    /**
     * 身份证号
     */
	@TableField("card_no")
	private String cardNo;
    /**
     * 总花费
     */
	@TableField("all_cost")
	private BigDecimal allCost;
	@TableField("bx_pay")
	private BigDecimal bxPay;
	@TableField("treat_time")
	private Date treatTime;
	@TableField("recod_time")
	private Date recodTime;
    /**
     * 发票编码
     */
	@TableField("treatein_no")
	private String treateinNo;
    /**
     * 就诊机构
     */
	@TableField("treat_agen_name")
	private String treatAgenName;




	public Long getExpInstNo() {
		return expInstNo;
	}

	public void setExpInstNo(Long expInstNo) {
		this.expInstNo = expInstNo;
	}

	public String getIllNo() {
		return illNo;
	}

	public void setIllNo(String illNo) {
		this.illNo = illNo;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public BigDecimal getAllCost() {
		return allCost;
	}

	public void setAllCost(BigDecimal allCost) {
		this.allCost = allCost;
	}

	public BigDecimal getBxPay() {
		return bxPay;
	}

	public void setBxPay(BigDecimal bxPay) {
		this.bxPay = bxPay;
	}

	public Date getTreatTime() {
		return treatTime;
	}

	public void setTreatTime(Date treatTime) {
		this.treatTime = treatTime;
	}

	public Date getRecodTime() {
		return recodTime;
	}

	public void setRecodTime(Date recodTime) {
		this.recodTime = recodTime;
	}

	public String getTreateinNo() {
		return treateinNo;
	}

	public void setTreateinNo(String treateinNo) {
		this.treateinNo = treateinNo;
	}

	public String getTreatAgenName() {
		return treatAgenName;
	}

	public void setTreatAgenName(String treatAgenName) {
		this.treatAgenName = treatAgenName;
	}

	@Override
	protected Serializable pkVal() {
		return this.expInstNo;
	}

}
